# coding=utf-8
# 代码文件：chapter3/ch3.2.11.py


import xlwings as xw

app = xw.App(visible=False, add_book=False)
f = r'data/学生信息.xlsx'
wb = app.books.open(f)

# sheet1 = wb.sheets['Sheet1']

xw.Range('A7:F7').delete()      # 删除第7行

f = r'data/学生信息2.xlsx'
wb.save(path=f)

wb.close()
app.quit()

print('Game Over')
